import { getInitialFieldsValue } from '@/pages/supplier/utils'
// 核查管理 - 监察核查
const FORM_ITEM_LIST = [
  { prop: 'supplierCode', label: '供应商代码', type: 'input', },
  { prop: 'supplierName', label: '供应商名称', type: 'input', },
  { prop: 'productCode', label: '商品代码', type: 'input', },
  { prop: 'productName', label: '商品名称', type: 'input', },
  { prop: 'managementArea', label: '供应商管理区域', type: 'managementArea', },
  { prop: 'belongDepartment', label: '采购归属', type: 'belongCenter', },
  { prop: 'saleAreaUuid', label: '销售区域', type: 'saleArea', },
  { prop: 'businessContactName', label: '业务对接人名称', type: 'input', },

]
const INITIAL_FIELDS_VALUE = getInitialFieldsValue(FORM_ITEM_LIST)
const TABLE_COLUMNS = [
  { title: '序号', key: 'index', width: 50 },
  { key: 'supplierCode', title: '供应商代码' },
  { key: 'supplierName', title: '供应商名称' },
  { key: 'businessContactName', title: '业务对接人名称' },
  { key: 'mainProduct', title: '主营商品' },
  { key: 'supplierAdress', title: '供应商地址' },
  { key: 'personName', title: '联系人' },
  { key: 'manageAreaName', title: '供应商管理区域' },
  { key: 'belongDepartmentName', title: '采购归属' },
  { key: 'saleAreaName', title: '销售区域' },
  { key: 'mobile', title: '联系电话' },
  { key: 'telephone', title: '固定电话' },
  { key: 'skuNo', title: '商品代码' },
  { key: 'productName', title: '商品名称' },
  { key: 'specDetail', title: '商品规格' },
  { key: 'unitName', title: '计量单位' },
  { key: 'purchasePrice', title: '进价' },
  { key: 'lastYearSupplierProductQty', title: '上年度供应商商品采购数量' },
  { key: 'lastYearSupplierProductAmount', title: '上年度供应商商品采购金额' },
  { key: 'lastYearProductQty', title: '上年度商品采购总数量' },
  { key: 'lastYearProductAmount', title: '上年度商品采购总金额' },
  { key: 'thisYearSupplierProductQty', title: '本年度供应商商品采购数量' },
  { key: 'thisYearSupplierProductAmount', title: '本年度供应商商品采购金额' },
  { key: 'freightBearer', title: '有无运费' },
  { key: 'rebateStandard', title: '返利标准' },
  { key: 'taxRate', title: '税率1' },
  { key: 'invoiceTypeName', title: '发票类型' },
]
export {
  INITIAL_FIELDS_VALUE,
  FORM_ITEM_LIST,
  TABLE_COLUMNS
}
